#include<iostream>

using namespace std;

int Add(int left, int right)
{
	cout << "Add int left, int right" << endl;
	return left + right;
}
double Add(double left, double right)
{
	cout << "Add double left, double right" << endl;
	return left + right;
}

int main()
{
	int a, b;
	double c, d;

	cin >> a >> b;
	cin >> c >> d;

	int sum1 = Add(a, b);
	cout << sum1 << endl;

	double sum2 = Add(c, d);
	cout << sum2 << endl;

	return 0;
}